package com.hukun.ssm1110.mapper;

import com.hukun.ssm1110.entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {

    public Article getArticleAndComment(Integer id);


    public int DeleteFromArticleByid(Integer id);


    public int DeleteFromArticleByids(Integer[] ids);


    public int  insertIntoArticle(Article article);

    public int  insertIntoArticles(List<Article> articleList);


    public List<Article>  getArticles(Article article);



}
